<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.con{
				width: 100%;
			}
			.con img{
				width: 100%;
				height: 100%;
				position:fixed
			}
		</style>
	</head>
	<body>
		<div class="con">
			<img src="$!{picUrl}">
		</div>
	</body>
</html>
<script type="text/javascript">
	var h=document.body.scrollHeight;
	var dom=document.getElementsByClassName("con")[0];
	dom.style.height=h+"px"
</script>